package jgame.model;
import jgame.Log;
import jgame.model.movingTypes.Walking;

public class BadHuman extends Moving {
	Sight sight = new Sight(5);
	
	public BadHuman() {
		this.setDefaultMovingType(new Walking());
	}
	
	public void discoverTick(Unit discovered) {
		//Log.add("Ah! I see someone @ " + discovered.getPosition() + "! Help!");
		this.moveTo(new Position(this.getPosition().getX() + 10, this.getPosition().getY() + 10));
		
		super.discoverTick(discovered);
	}
}
